package io.renren.modules.study.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CourseComment {
    private int commentId;
    private int courseId;  //评论的课程的id
    private String userName;
    private String content;  //内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String userHeadImage;
    private int isDelete; //评论是否被删除 1为未删除 0为已删除
    private Long userId;  //评论人的Id
    private String courseTitle;
    private String token;  //评论人的唯一标识

    private byte[] userNameB;
    private byte[] contentB;

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle;
    }

    public byte[] getUserNameB() {
        return userNameB;
    }

    public void setUserNameB(byte[] userNameB) {
        this.userNameB = userNameB;
    }

    public byte[] getContentB() {
        return contentB;
    }

    public void setContentB(byte[] contentB) {
        this.contentB = contentB;
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserHeadImage() {
        return userHeadImage;
    }

    public void setUserHeadImage(String userHeadImage) {
        this.userHeadImage = userHeadImage;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
